from django.contrib import admin
from .models import BlogArticles


# Register your models here.
class BlogArticlesAdmin(admin.ModelAdmin):
    list_display = ("title", "author", "publish")
    list_filter = ("title", "author")
    search_fields = ("title", "content",)
    ordering = ["-publish"]


admin.site.register(BlogArticles, BlogArticlesAdmin)
